package com.laikan.reader.core.bean;

import com.laikan.reader.core.view.EnumContentType;
import com.laikan.reader.core.view.EnumTextType;

import java.util.List;

/**
 * 分解字符串
 *
 * @author Administrator
 */
public class Text {

    List<String> strList;
    String str;
    float x = 0;
    float y = 0;
    float length = 0;
    EnumTextType type;
    EnumContentType cType;

    public Text(String str, float x, float y, float length, EnumTextType type) {
        this.str = str;
        this.x = x;
        this.y = y;
        this.length = length;
        this.type = type;
    }

    public Text(String str, float x, float y, float length, EnumTextType type, EnumContentType cType) {
        this.str = str;
        this.x = x;
        this.y = y;
        this.length = length;
        this.type = type;
        this.cType = cType;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }

    public float getLength() {
        return length;
    }

    public void setLength(float length) {
        this.length = length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public EnumTextType getType() {
        return type;
    }

    public void setType(EnumTextType type) {
        this.type = type;
    }

    public List<String> getStrList() {
        return strList;
    }

    public void setStrList(List<String> strList) {
        this.strList = strList;
    }

    public EnumContentType getcType() {
        return cType;
    }

    public void setcType(EnumContentType cType) {
        this.cType = cType;
    }
}
